﻿<UserControl x:Class="SampleModule.Views.Controls.OpenSampleControlBarreView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:helpers="clr-namespace:Helpers;assembly=Helpers"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="1" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="1" />
        </Grid.ColumnDefinitions>

        <TextBlock Text="{helpers:Localize BarreMessageControl_Text}" VerticalAlignment="Center" Margin="10,0,10,0" Foreground="White"/>

        <!-- Séparateur -->
        <Line Grid.Column="1" X1="0" X2="0" Y1="0" Y2="1" Stretch="Fill" Stroke="{DynamicResource ColorSeparatorBarreMenuEtatBrush}" StrokeThickness="1" VerticalAlignment="Center" Margin="0,6,0,6"/>

        <Button Grid.Column="2" Content="{helpers:Localize BarreMessageControl_Button}" Command="{Binding SampleCommand}" Height="35" Margin="10,0,10,0" FontSize="11"/>

    </Grid>
</UserControl>
